package com.change.dto.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class UserInfoResultModel {

    private String avatar = "https://q1.qlogo.cn/g?b=qq&nk=190848757&s=640";
    private String desc = "manager";
    private String homePath= "/dashboard/analysis";
    private String password = "123456";
    private String realName = "Vben Admin";
    private String token = "fakeToken1";
    private Integer userId = 1;
    private String username = "vben";


    @ApiModelProperty("用户角色")
    private List<LoginResultModel.RoleInfo> roles;

    @Data
    public static class RoleInfo {
        @ApiModelProperty("角色名称")
        private String roleName;
        @ApiModelProperty("角色内容")
        private String value;
    }
}
